package com.momoc.logic.service;

import com.momoc.mrpc.annotation.MRpcReference;
import org.springframework.stereotype.Service;

/**
 * @author momoc
 * @version 1.0
 * @className TestServiceRpc
 * @description
 * @date 2022/7/26 12:20 下午
 */
@Service
public class TestServiceRpc {

    @MRpcReference
    TestService testService;

    public void test(){
        String momoc_rpc_first = testService.helloTest("momoc rpc first");
        System.out.println(momoc_rpc_first);

    }

    public TestService getTestService() {
        return testService;
    }
}
